<!DOCTYPE html>
<html>
<head>
  <title>测试页面</title>
</head> 
<body>
<?php
foreach ($data as $value) {
    echo $value['name']."  ";
    echo $value['age']."  ";
    echo $value['gender']."  ";
    echo "<br />";
}
?>

</body>
</html>